from functools import reduce


l = [2,4,1,5]
r = reduce(lambda x1,x2: x1+x2,l)
print(r)